package com;

import java.util.function.Function;

public class FuntionOne {
 public static String add(Function<String,String> function){
     return function.apply("一个女人一个戏");
 }

    public static void main(String[] args) {
        Function<String,String> function = (girl)->{
            return girl+",一群女人唱大戏";
        };
        System.out.println(add(function));

    }

}
